<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>班级学生信息表单</title>
    <style>
        body { font-family: Arial, sans-serif; margin: 40px; }
        form { max-width: 400px; margin: auto; }
        label { display: block; margin-top: 15px; }
        input, select { width: 100%; padding: 8px; margin-top: 5px; }
        button { margin-top: 20px; padding: 10px 20px; }
    </style>
</head>
<body>
    <h2>班级学生信息表单</h2>
    <form>
        <label for="studentName">姓名：</label>
        <input type="text" id="studentName" name="studentName" required>

        <label for="studentId">学号：</label>
        <input type="text" id="studentId" name="studentId" required>

        <label for="gender">性别：</label>
        <select id="gender" name="gender" required>
            <option value="">请选择</option>
            <option value="男">男</option>
            <option value="女">女</option>
        </select>

        <label for="age">年龄：</label>
        <input type="number" id="age" name="age" min="1" max="100" required>

        <label for="class">班级：</label>
        <input type="text" id="class" name="class" required>

        <button type="submit">提交</button>
    </form>
</body>
</html>